package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.dto.course.CourseDTO;
import com.qk.entity.Course;

import java.util.List;


/**
 * @Author: ZgYn
 * @Date 2025/10/8 19:48
 * @name：CourseService
 */
public interface CourseService {
    PageResult<Course> getCourses(CourseDTO courseDTO);

    void save(Course course);

    void delete(Integer id);

    Course getById(Integer id);

    void update(Course course);

    List<Course> list();

    List<Course> listBySubject(String subject);
}
